package cn.darkhorse.workorder.service;

import java.util.List;

import cn.darkhorse.basic.dto.BalanceRecordDTO;
import cn.darkhorse.workorder.domain.QmsWorkorderSampleBalance;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 样品平衡Service接口
 *
 * @author ytq
 * @date 2024-07-19
 */
public interface IQmsWorkorderSampleBalanceService extends IService<QmsWorkorderSampleBalance>
{

    public QmsWorkorderSampleBalance getByOrderNumber(String orderNumber);

    /**
     * 新增样品平衡
     *
     * @param qmsWorkorderSampleBalance 样品平衡
     * @return 结果
     */
    public boolean saveQmsWorkorderSampleBalance(QmsWorkorderSampleBalance qmsWorkorderSampleBalance);



    /**
     * 保存回潮率记录
     * @param dto
     */
    public void saveBalanceRecord(BalanceRecordDTO dto);

    /**
     * 查询回潮率记录
     *
     * @param dto
     */
    public List<?> getBalanceRecord(BalanceRecordDTO dto);
}
